FROM python:3.7

COPY msyh.ttc /usr/share/fonts/

WORKDIR /Project/demo
COPY requirements.txt ./
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

COPY . .
RUN python insert_data_to_elasticsearch.py
CMD python app.py